package xyz.xiezc.mzix.schedule.dao;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import xyz.xiezc.mzix.schedule.entity.SessionDO;

import java.util.Optional;

@Repository
public interface SessionRepository extends CrudRepository<SessionDO,Integer> {


  Optional<SessionDO> findByCodeAndKey(String code,String key);
}
